package com.xiu.mapper;

import java.util.List;

import com.xiu.pojo.ExamGrade;

public interface ExamGradeMapper {
    int deleteByPrimaryKey(Integer examGradeId);

    int insert(ExamGrade record);

    int insertSelective(ExamGrade record);

    ExamGrade selectByPrimaryKey(Integer examGradeId);

    int updateByPrimaryKeySelective(ExamGrade record);

    int updateByPrimaryKey(ExamGrade record);
    
    List<ExamGrade> searchGrade(Integer examSubjectId);
    
    List<ExamGrade> findAllGrade();
    
    List<ExamGrade> searchBy4(ExamGrade examGrade);
    
    //学生查看成绩
    List<ExamGrade> findStuGrade(Integer examSubjectId);
    
    //学生查看他所有成绩
    List<ExamGrade> showGrade(int examStuId);
    
    //ExamGrade findGradeId(Integer examSubjectId);
    
    /*ExamGrade updateGrade(ExamGrade examGrade);*/
}